package com.sunzhe.train.web;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.beetl.core.Configuration;
import org.beetl.core.resource.ClasspathResourceLoader;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 首页 接口
 */
@Controller("trainIndexController")
public class IndexController{

    private final Log log = LogFactory.getLog(this.getClass());
    private static final String MODEL = "";

    @Autowired
	Environment env;
    
    @RequestMapping(MODEL + "/1")
	public ModelAndView index() {
		ModelAndView view = new ModelAndView(MODEL + "/index.html");
		return view;
	}
}
